<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxVec2 Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classPxVec2.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classPxVec2-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PxVec2 Class Reference<div class="ingroups"><a class="el" href="group__foundation.html">Foundation</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>2 Element vector class.  
 <a href="classPxVec2.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PxVec2_8h_source.html">PxVec2.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a96f72810f06447c2ad7a99889d718298"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a96f72810f06447c2ad7a99889d718298">PxVec2</a> ()</td></tr>
<tr class="memdesc:a96f72810f06447c2ad7a99889d718298"><td class="mdescLeft">&#160;</td><td class="mdescRight">default constructor leaves data uninitialized.  <a href="#a96f72810f06447c2ad7a99889d718298">More...</a><br /></td></tr>
<tr class="separator:a96f72810f06447c2ad7a99889d718298"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b60f4c08b8019e8c28967ed33d436ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a4b60f4c08b8019e8c28967ed33d436ce">PxVec2</a> (<a class="el" href="group__foundation.html#gac10bd69c94c165a52f6de39678ef9d4c">PxZERO</a> r)</td></tr>
<tr class="memdesc:a4b60f4c08b8019e8c28967ed33d436ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">zero constructor.  <a href="#a4b60f4c08b8019e8c28967ed33d436ce">More...</a><br /></td></tr>
<tr class="separator:a4b60f4c08b8019e8c28967ed33d436ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07b74e15ed0f46a4a33db981b601fa7e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a07b74e15ed0f46a4a33db981b601fa7e">PxVec2</a> (float a)</td></tr>
<tr class="memdesc:a07b74e15ed0f46a4a33db981b601fa7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assigns scalar parameter to all elements.  <a href="#a07b74e15ed0f46a4a33db981b601fa7e">More...</a><br /></td></tr>
<tr class="separator:a07b74e15ed0f46a4a33db981b601fa7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71fc8ee1b46e0b0539cb507a3b290330"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a71fc8ee1b46e0b0539cb507a3b290330">PxVec2</a> (float nx, float ny)</td></tr>
<tr class="memdesc:a71fc8ee1b46e0b0539cb507a3b290330"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes from 2 scalar parameters.  <a href="#a71fc8ee1b46e0b0539cb507a3b290330">More...</a><br /></td></tr>
<tr class="separator:a71fc8ee1b46e0b0539cb507a3b290330"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8ffec06e3a3ca712448e1e11232cb08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#aa8ffec06e3a3ca712448e1e11232cb08">PxVec2</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;v)</td></tr>
<tr class="memdesc:aa8ffec06e3a3ca712448e1e11232cb08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy ctor.  <a href="#aa8ffec06e3a3ca712448e1e11232cb08">More...</a><br /></td></tr>
<tr class="separator:aa8ffec06e3a3ca712448e1e11232cb08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a905d707942a9aa11f7184228e85df054"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a905d707942a9aa11f7184228e85df054">operator=</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;p)</td></tr>
<tr class="memdesc:a905d707942a9aa11f7184228e85df054"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator.  <a href="#a905d707942a9aa11f7184228e85df054">More...</a><br /></td></tr>
<tr class="separator:a905d707942a9aa11f7184228e85df054"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76af8d8980dac7c98b46b61698de3767"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a76af8d8980dac7c98b46b61698de3767">operator[]</a> (int index)</td></tr>
<tr class="memdesc:a76af8d8980dac7c98b46b61698de3767"><td class="mdescLeft">&#160;</td><td class="mdescRight">element access  <a href="#a76af8d8980dac7c98b46b61698de3767">More...</a><br /></td></tr>
<tr class="separator:a76af8d8980dac7c98b46b61698de3767"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a527686006bf224315439c9ba0ddbeeb3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> const float &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a527686006bf224315439c9ba0ddbeeb3">operator[]</a> (int index) const</td></tr>
<tr class="memdesc:a527686006bf224315439c9ba0ddbeeb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">element access  <a href="#a527686006bf224315439c9ba0ddbeeb3">More...</a><br /></td></tr>
<tr class="separator:a527686006bf224315439c9ba0ddbeeb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa17a4e6ca87c2fde59d8bca3103a62be"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#aa17a4e6ca87c2fde59d8bca3103a62be">operator==</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;v) const</td></tr>
<tr class="memdesc:aa17a4e6ca87c2fde59d8bca3103a62be"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns true if the two vectors are exactly equal.  <a href="#aa17a4e6ca87c2fde59d8bca3103a62be">More...</a><br /></td></tr>
<tr class="separator:aa17a4e6ca87c2fde59d8bca3103a62be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ffd377266a4abb0bd5b56f456781b38"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a8ffd377266a4abb0bd5b56f456781b38">operator!=</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;v) const</td></tr>
<tr class="memdesc:a8ffd377266a4abb0bd5b56f456781b38"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns true if the two vectors are not exactly equal.  <a href="#a8ffd377266a4abb0bd5b56f456781b38">More...</a><br /></td></tr>
<tr class="separator:a8ffd377266a4abb0bd5b56f456781b38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ae22a4855c603f08c770f5aea7e570d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a5ae22a4855c603f08c770f5aea7e570d">isZero</a> () const</td></tr>
<tr class="memdesc:a5ae22a4855c603f08c770f5aea7e570d"><td class="mdescLeft">&#160;</td><td class="mdescRight">tests for exact zero vector  <a href="#a5ae22a4855c603f08c770f5aea7e570d">More...</a><br /></td></tr>
<tr class="separator:a5ae22a4855c603f08c770f5aea7e570d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a487462d06e975ce8315eef3311b1d31f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a487462d06e975ce8315eef3311b1d31f">isFinite</a> () const</td></tr>
<tr class="memdesc:a487462d06e975ce8315eef3311b1d31f"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns true if all 2 elems of the vector are finite (not NAN or INF, etc.)  <a href="#a487462d06e975ce8315eef3311b1d31f">More...</a><br /></td></tr>
<tr class="separator:a487462d06e975ce8315eef3311b1d31f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1b953882b55c91a02b32eb78529ced2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#aa1b953882b55c91a02b32eb78529ced2">isNormalized</a> () const</td></tr>
<tr class="memdesc:aa1b953882b55c91a02b32eb78529ced2"><td class="mdescLeft">&#160;</td><td class="mdescRight">is normalized - used by API parameter validation  <a href="#aa1b953882b55c91a02b32eb78529ced2">More...</a><br /></td></tr>
<tr class="separator:aa1b953882b55c91a02b32eb78529ced2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87ec96060011ff56fb482ed88c841903"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a87ec96060011ff56fb482ed88c841903">magnitudeSquared</a> () const</td></tr>
<tr class="memdesc:a87ec96060011ff56fb482ed88c841903"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the squared magnitude  <a href="#a87ec96060011ff56fb482ed88c841903">More...</a><br /></td></tr>
<tr class="separator:a87ec96060011ff56fb482ed88c841903"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8729d27ed9430c10ce0d024a5610afd1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a8729d27ed9430c10ce0d024a5610afd1">magnitude</a> () const</td></tr>
<tr class="memdesc:a8729d27ed9430c10ce0d024a5610afd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the magnitude  <a href="#a8729d27ed9430c10ce0d024a5610afd1">More...</a><br /></td></tr>
<tr class="separator:a8729d27ed9430c10ce0d024a5610afd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab85491b29db2f9150f7790bdbf4f7be8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#ab85491b29db2f9150f7790bdbf4f7be8">operator-</a> () const</td></tr>
<tr class="memdesc:ab85491b29db2f9150f7790bdbf4f7be8"><td class="mdescLeft">&#160;</td><td class="mdescRight">negation  <a href="#ab85491b29db2f9150f7790bdbf4f7be8">More...</a><br /></td></tr>
<tr class="separator:ab85491b29db2f9150f7790bdbf4f7be8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d6d1414f15c429129ca88ed17f27181"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a7d6d1414f15c429129ca88ed17f27181">operator+</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;v) const</td></tr>
<tr class="memdesc:a7d6d1414f15c429129ca88ed17f27181"><td class="mdescLeft">&#160;</td><td class="mdescRight">vector addition  <a href="#a7d6d1414f15c429129ca88ed17f27181">More...</a><br /></td></tr>
<tr class="separator:a7d6d1414f15c429129ca88ed17f27181"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adddd3544f4afb9a6c847e072e8c570b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#adddd3544f4afb9a6c847e072e8c570b9">operator-</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;v) const</td></tr>
<tr class="memdesc:adddd3544f4afb9a6c847e072e8c570b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">vector difference  <a href="#adddd3544f4afb9a6c847e072e8c570b9">More...</a><br /></td></tr>
<tr class="separator:adddd3544f4afb9a6c847e072e8c570b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72dcc709ef26ffc0b966c40cdb192f07"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a72dcc709ef26ffc0b966c40cdb192f07">operator*</a> (float f) const</td></tr>
<tr class="memdesc:a72dcc709ef26ffc0b966c40cdb192f07"><td class="mdescLeft">&#160;</td><td class="mdescRight">scalar post-multiplication  <a href="#a72dcc709ef26ffc0b966c40cdb192f07">More...</a><br /></td></tr>
<tr class="separator:a72dcc709ef26ffc0b966c40cdb192f07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42a0bd86890068352385df465bd583be"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a42a0bd86890068352385df465bd583be">operator/</a> (float f) const</td></tr>
<tr class="memdesc:a42a0bd86890068352385df465bd583be"><td class="mdescLeft">&#160;</td><td class="mdescRight">scalar division  <a href="#a42a0bd86890068352385df465bd583be">More...</a><br /></td></tr>
<tr class="separator:a42a0bd86890068352385df465bd583be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9caeb5f1c968260c9f463171152937f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#ac9caeb5f1c968260c9f463171152937f">operator+=</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;v)</td></tr>
<tr class="memdesc:ac9caeb5f1c968260c9f463171152937f"><td class="mdescLeft">&#160;</td><td class="mdescRight">vector addition  <a href="#ac9caeb5f1c968260c9f463171152937f">More...</a><br /></td></tr>
<tr class="separator:ac9caeb5f1c968260c9f463171152937f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea0a1b70187c8d6e2fb4f02a0fc069d3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#aea0a1b70187c8d6e2fb4f02a0fc069d3">operator-=</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;v)</td></tr>
<tr class="memdesc:aea0a1b70187c8d6e2fb4f02a0fc069d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">vector difference  <a href="#aea0a1b70187c8d6e2fb4f02a0fc069d3">More...</a><br /></td></tr>
<tr class="separator:aea0a1b70187c8d6e2fb4f02a0fc069d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac65a226e1aac50af85eee2322af6cb58"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#ac65a226e1aac50af85eee2322af6cb58">operator*=</a> (float f)</td></tr>
<tr class="memdesc:ac65a226e1aac50af85eee2322af6cb58"><td class="mdescLeft">&#160;</td><td class="mdescRight">scalar multiplication  <a href="#ac65a226e1aac50af85eee2322af6cb58">More...</a><br /></td></tr>
<tr class="separator:ac65a226e1aac50af85eee2322af6cb58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b9073b93708bca03bc0f4b61fb6547b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a0b9073b93708bca03bc0f4b61fb6547b">operator/=</a> (float f)</td></tr>
<tr class="memdesc:a0b9073b93708bca03bc0f4b61fb6547b"><td class="mdescLeft">&#160;</td><td class="mdescRight">scalar division  <a href="#a0b9073b93708bca03bc0f4b61fb6547b">More...</a><br /></td></tr>
<tr class="separator:a0b9073b93708bca03bc0f4b61fb6547b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15449fe74efa6c4a7e01c53bc6dc42be"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a15449fe74efa6c4a7e01c53bc6dc42be">dot</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;v) const</td></tr>
<tr class="memdesc:a15449fe74efa6c4a7e01c53bc6dc42be"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the scalar product of this and other.  <a href="#a15449fe74efa6c4a7e01c53bc6dc42be">More...</a><br /></td></tr>
<tr class="separator:a15449fe74efa6c4a7e01c53bc6dc42be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a630dc61bdd8dc69b3ed5cead1ac691b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a630dc61bdd8dc69b3ed5cead1ac691b0">getNormalized</a> () const</td></tr>
<tr class="separator:a630dc61bdd8dc69b3ed5cead1ac691b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c115c5ab9863553c558518f8b1b4d33"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a4c115c5ab9863553c558518f8b1b4d33">normalize</a> ()</td></tr>
<tr class="memdesc:a4c115c5ab9863553c558518f8b1b4d33"><td class="mdescLeft">&#160;</td><td class="mdescRight">normalizes the vector in place  <a href="#a4c115c5ab9863553c558518f8b1b4d33">More...</a><br /></td></tr>
<tr class="separator:a4c115c5ab9863553c558518f8b1b4d33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98d498bfc67b78daf76b00970a3b1c2f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a98d498bfc67b78daf76b00970a3b1c2f">multiply</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;a) const</td></tr>
<tr class="memdesc:a98d498bfc67b78daf76b00970a3b1c2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">a[i] * b[i], for all i.  <a href="#a98d498bfc67b78daf76b00970a3b1c2f">More...</a><br /></td></tr>
<tr class="separator:a98d498bfc67b78daf76b00970a3b1c2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab133fd595141550bde61d5409a271cc4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#ab133fd595141550bde61d5409a271cc4">minimum</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;v) const</td></tr>
<tr class="memdesc:ab133fd595141550bde61d5409a271cc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">element-wise minimum  <a href="#ab133fd595141550bde61d5409a271cc4">More...</a><br /></td></tr>
<tr class="separator:ab133fd595141550bde61d5409a271cc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a566bfc064eaa3d57260619a7ef49d182"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a566bfc064eaa3d57260619a7ef49d182">minElement</a> () const</td></tr>
<tr class="memdesc:a566bfc064eaa3d57260619a7ef49d182"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns MIN(x, y);  <a href="#a566bfc064eaa3d57260619a7ef49d182">More...</a><br /></td></tr>
<tr class="separator:a566bfc064eaa3d57260619a7ef49d182"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ad5e407464b9edaa205475f19eb426a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a0ad5e407464b9edaa205475f19eb426a">maximum</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;v) const</td></tr>
<tr class="memdesc:a0ad5e407464b9edaa205475f19eb426a"><td class="mdescLeft">&#160;</td><td class="mdescRight">element-wise maximum  <a href="#a0ad5e407464b9edaa205475f19eb426a">More...</a><br /></td></tr>
<tr class="separator:a0ad5e407464b9edaa205475f19eb426a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e66299220678b7868f4dfde416e635d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a3e66299220678b7868f4dfde416e635d">maxElement</a> () const</td></tr>
<tr class="memdesc:a3e66299220678b7868f4dfde416e635d"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns MAX(x, y);  <a href="#a3e66299220678b7868f4dfde416e635d">More...</a><br /></td></tr>
<tr class="separator:a3e66299220678b7868f4dfde416e635d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a8a1607dbd9d4e63bf4d5af9ef4cd5a2e"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#a8a1607dbd9d4e63bf4d5af9ef4cd5a2e">x</a></td></tr>
<tr class="separator:a8a1607dbd9d4e63bf4d5af9ef4cd5a2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf3769707f9e56d04c4f37ebdb8e23a9"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#abf3769707f9e56d04c4f37ebdb8e23a9">y</a></td></tr>
<tr class="separator:abf3769707f9e56d04c4f37ebdb8e23a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>2 Element vector class. </p>
<p>This is a 2-dimensional vector class with public data members. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a96f72810f06447c2ad7a99889d718298"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96f72810f06447c2ad7a99889d718298">&#9670;&nbsp;</a></span>PxVec2() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxVec2::PxVec2 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>default constructor leaves data uninitialized. </p>

</div>
</div>
<a id="a4b60f4c08b8019e8c28967ed33d436ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b60f4c08b8019e8c28967ed33d436ce">&#9670;&nbsp;</a></span>PxVec2() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxVec2::PxVec2 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__foundation.html#gac10bd69c94c165a52f6de39678ef9d4c">PxZERO</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>zero constructor. </p>

<p class="reference">References <a class="el" href="group__foundation.html#ga9727af514012bc32f852e20278a7b04e">PX_UNUSED()</a>.</p>

</div>
</div>
<a id="a07b74e15ed0f46a4a33db981b601fa7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07b74e15ed0f46a4a33db981b601fa7e">&#9670;&nbsp;</a></span>PxVec2() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxVec2::PxVec2 </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Assigns scalar parameter to all elements. </p>
<p>Useful to initialize to zero or one.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>Value to assign to elements. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a71fc8ee1b46e0b0539cb507a3b290330"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71fc8ee1b46e0b0539cb507a3b290330">&#9670;&nbsp;</a></span>PxVec2() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxVec2::PxVec2 </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>nx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>ny</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Initializes from 2 scalar parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nx</td><td>Value to initialize X component. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">ny</td><td>Value to initialize Y component. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa8ffec06e3a3ca712448e1e11232cb08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8ffec06e3a3ca712448e1e11232cb08">&#9670;&nbsp;</a></span>PxVec2() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxVec2::PxVec2 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy ctor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a15449fe74efa6c4a7e01c53bc6dc42be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15449fe74efa6c4a7e01c53bc6dc42be">&#9670;&nbsp;</a></span>dot()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float PxVec2::dot </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns the scalar product of this and other. </p>

<p class="reference">References <a class="el" href="classPxVec2.html#a8a1607dbd9d4e63bf4d5af9ef4cd5a2e">x</a>, and <a class="el" href="classPxVec2.html#abf3769707f9e56d04c4f37ebdb8e23a9">y</a>.</p>

</div>
</div>
<a id="a630dc61bdd8dc69b3ed5cead1ac691b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a630dc61bdd8dc69b3ed5cead1ac691b0">&#9670;&nbsp;</a></span>getNormalized()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a> PxVec2::getNormalized </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>return a unit vector </p>

<p class="reference">References <a class="el" href="group__foundation.html#gacd945627f345ba03e83a30387ab99dea">PxRecipSqrt()</a>.</p>

</div>
</div>
<a id="a487462d06e975ce8315eef3311b1d31f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a487462d06e975ce8315eef3311b1d31f">&#9670;&nbsp;</a></span>isFinite()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> bool PxVec2::isFinite </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns true if all 2 elems of the vector are finite (not NAN or INF, etc.) </p>

<p class="reference">References <a class="el" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite()</a>.</p>

</div>
</div>
<a id="aa1b953882b55c91a02b32eb78529ced2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1b953882b55c91a02b32eb78529ced2">&#9670;&nbsp;</a></span>isNormalized()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> bool PxVec2::isNormalized </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>is normalized - used by API parameter validation </p>

<p class="reference">References <a class="el" href="namespacephysx_1_1intrinsics.html#a28bd12477f3ca0b092c0b9b61bdfaf04">physx::intrinsics::isFinite()</a>, and <a class="el" href="group__foundation.html#gaf72e1dce9e874da7b92cbc0ea5e4e30d">PxAbs()</a>.</p>

</div>
</div>
<a id="a5ae22a4855c603f08c770f5aea7e570d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ae22a4855c603f08c770f5aea7e570d">&#9670;&nbsp;</a></span>isZero()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> bool PxVec2::isZero </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>tests for exact zero vector </p>

</div>
</div>
<a id="a8729d27ed9430c10ce0d024a5610afd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8729d27ed9430c10ce0d024a5610afd1">&#9670;&nbsp;</a></span>magnitude()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float PxVec2::magnitude </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns the magnitude </p>

<p class="reference">References <a class="el" href="group__foundation.html#ga11d5e4e77acad728886b380b5f3806f0">PxSqrt()</a>.</p>

</div>
</div>
<a id="a87ec96060011ff56fb482ed88c841903"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87ec96060011ff56fb482ed88c841903">&#9670;&nbsp;</a></span>magnitudeSquared()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float PxVec2::magnitudeSquared </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns the squared magnitude </p>
<p>Avoids calling <a class="el" href="group__foundation.html#ga11d5e4e77acad728886b380b5f3806f0" title="Square root. ">PxSqrt()</a>! </p>

</div>
</div>
<a id="a3e66299220678b7868f4dfde416e635d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e66299220678b7868f4dfde416e635d">&#9670;&nbsp;</a></span>maxElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float PxVec2::maxElement </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns MAX(x, y); </p>

<p class="reference">References <a class="el" href="group__foundation.html#gaa014664f566202f7be1b2caa5625ffd6">PxMax()</a>.</p>

</div>
</div>
<a id="a0ad5e407464b9edaa205475f19eb426a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ad5e407464b9edaa205475f19eb426a">&#9670;&nbsp;</a></span>maximum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a> PxVec2::maximum </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>element-wise maximum </p>

<p class="reference">References <a class="el" href="group__foundation.html#gaa014664f566202f7be1b2caa5625ffd6">PxMax()</a>, <a class="el" href="classPxVec2.html#a8a1607dbd9d4e63bf4d5af9ef4cd5a2e">x</a>, and <a class="el" href="classPxVec2.html#abf3769707f9e56d04c4f37ebdb8e23a9">y</a>.</p>

</div>
</div>
<a id="a566bfc064eaa3d57260619a7ef49d182"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a566bfc064eaa3d57260619a7ef49d182">&#9670;&nbsp;</a></span>minElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float PxVec2::minElement </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns MIN(x, y); </p>

<p class="reference">References <a class="el" href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">PxMin()</a>.</p>

</div>
</div>
<a id="ab133fd595141550bde61d5409a271cc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab133fd595141550bde61d5409a271cc4">&#9670;&nbsp;</a></span>minimum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a> PxVec2::minimum </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>element-wise minimum </p>

<p class="reference">References <a class="el" href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">PxMin()</a>, <a class="el" href="classPxVec2.html#a8a1607dbd9d4e63bf4d5af9ef4cd5a2e">x</a>, and <a class="el" href="classPxVec2.html#abf3769707f9e56d04c4f37ebdb8e23a9">y</a>.</p>

</div>
</div>
<a id="a98d498bfc67b78daf76b00970a3b1c2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98d498bfc67b78daf76b00970a3b1c2f">&#9670;&nbsp;</a></span>multiply()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a> PxVec2::multiply </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>a[i] * b[i], for all i. </p>

<p class="reference">References <a class="el" href="classPxVec2.html#a8a1607dbd9d4e63bf4d5af9ef4cd5a2e">x</a>, and <a class="el" href="classPxVec2.html#abf3769707f9e56d04c4f37ebdb8e23a9">y</a>.</p>

</div>
</div>
<a id="a4c115c5ab9863553c558518f8b1b4d33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c115c5ab9863553c558518f8b1b4d33">&#9670;&nbsp;</a></span>normalize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float PxVec2::normalize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>normalizes the vector in place </p>

</div>
</div>
<a id="a8ffd377266a4abb0bd5b56f456781b38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ffd377266a4abb0bd5b56f456781b38">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> bool PxVec2::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns true if the two vectors are not exactly equal. </p>

<p class="reference">References <a class="el" href="classPxVec2.html#a8a1607dbd9d4e63bf4d5af9ef4cd5a2e">x</a>, and <a class="el" href="classPxVec2.html#abf3769707f9e56d04c4f37ebdb8e23a9">y</a>.</p>

</div>
</div>
<a id="a72dcc709ef26ffc0b966c40cdb192f07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72dcc709ef26ffc0b966c40cdb192f07">&#9670;&nbsp;</a></span>operator*()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a> PxVec2::operator* </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>scalar post-multiplication </p>

</div>
</div>
<a id="ac65a226e1aac50af85eee2322af6cb58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac65a226e1aac50af85eee2322af6cb58">&#9670;&nbsp;</a></span>operator*=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a>&amp; PxVec2::operator*= </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>scalar multiplication </p>

</div>
</div>
<a id="a7d6d1414f15c429129ca88ed17f27181"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d6d1414f15c429129ca88ed17f27181">&#9670;&nbsp;</a></span>operator+()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a> PxVec2::operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>vector addition </p>

<p class="reference">References <a class="el" href="classPxVec2.html#a8a1607dbd9d4e63bf4d5af9ef4cd5a2e">x</a>, and <a class="el" href="classPxVec2.html#abf3769707f9e56d04c4f37ebdb8e23a9">y</a>.</p>

</div>
</div>
<a id="ac9caeb5f1c968260c9f463171152937f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9caeb5f1c968260c9f463171152937f">&#9670;&nbsp;</a></span>operator+=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a>&amp; PxVec2::operator+= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>vector addition </p>

<p class="reference">References <a class="el" href="classPxVec2.html#a8a1607dbd9d4e63bf4d5af9ef4cd5a2e">x</a>, and <a class="el" href="classPxVec2.html#abf3769707f9e56d04c4f37ebdb8e23a9">y</a>.</p>

</div>
</div>
<a id="ab85491b29db2f9150f7790bdbf4f7be8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab85491b29db2f9150f7790bdbf4f7be8">&#9670;&nbsp;</a></span>operator-() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a> PxVec2::operator- </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>negation </p>

</div>
</div>
<a id="adddd3544f4afb9a6c847e072e8c570b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adddd3544f4afb9a6c847e072e8c570b9">&#9670;&nbsp;</a></span>operator-() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a> PxVec2::operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>vector difference </p>

<p class="reference">References <a class="el" href="classPxVec2.html#a8a1607dbd9d4e63bf4d5af9ef4cd5a2e">x</a>, and <a class="el" href="classPxVec2.html#abf3769707f9e56d04c4f37ebdb8e23a9">y</a>.</p>

</div>
</div>
<a id="aea0a1b70187c8d6e2fb4f02a0fc069d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea0a1b70187c8d6e2fb4f02a0fc069d3">&#9670;&nbsp;</a></span>operator-=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a>&amp; PxVec2::operator-= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>vector difference </p>

<p class="reference">References <a class="el" href="classPxVec2.html#a8a1607dbd9d4e63bf4d5af9ef4cd5a2e">x</a>, and <a class="el" href="classPxVec2.html#abf3769707f9e56d04c4f37ebdb8e23a9">y</a>.</p>

</div>
</div>
<a id="a42a0bd86890068352385df465bd583be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42a0bd86890068352385df465bd583be">&#9670;&nbsp;</a></span>operator/()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a> PxVec2::operator/ </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>scalar division </p>

</div>
</div>
<a id="a0b9073b93708bca03bc0f4b61fb6547b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b9073b93708bca03bc0f4b61fb6547b">&#9670;&nbsp;</a></span>operator/=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a>&amp; PxVec2::operator/= </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>scalar division </p>

</div>
</div>
<a id="a905d707942a9aa11f7184228e85df054"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a905d707942a9aa11f7184228e85df054">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec2.html">PxVec2</a>&amp; PxVec2::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Assignment operator. </p>

<p class="reference">References <a class="el" href="classPxVec2.html#a8a1607dbd9d4e63bf4d5af9ef4cd5a2e">x</a>, and <a class="el" href="classPxVec2.html#abf3769707f9e56d04c4f37ebdb8e23a9">y</a>.</p>

</div>
</div>
<a id="aa17a4e6ca87c2fde59d8bca3103a62be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa17a4e6ca87c2fde59d8bca3103a62be">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> bool PxVec2::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns true if the two vectors are exactly equal. </p>

<p class="reference">References <a class="el" href="classPxVec2.html#a8a1607dbd9d4e63bf4d5af9ef4cd5a2e">x</a>, and <a class="el" href="classPxVec2.html#abf3769707f9e56d04c4f37ebdb8e23a9">y</a>.</p>

</div>
</div>
<a id="a76af8d8980dac7c98b46b61698de3767"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76af8d8980dac7c98b46b61698de3767">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float&amp; PxVec2::operator[] </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>element access </p>

<p class="reference">References <a class="el" href="group__foundation.html#ga07ffc52cd4afa8e797a5fe6e1cb7e17a">PX_SHARED_ASSERT</a>.</p>

</div>
</div>
<a id="a527686006bf224315439c9ba0ddbeeb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a527686006bf224315439c9ba0ddbeeb3">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> const float&amp; PxVec2::operator[] </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>element access </p>

<p class="reference">References <a class="el" href="group__foundation.html#ga07ffc52cd4afa8e797a5fe6e1cb7e17a">PX_SHARED_ASSERT</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a8a1607dbd9d4e63bf4d5af9ef4cd5a2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a1607dbd9d4e63bf4d5af9ef4cd5a2e">&#9670;&nbsp;</a></span>x</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float PxVec2::x</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">Referenced by <a class="el" href="classPxVec2.html#a15449fe74efa6c4a7e01c53bc6dc42be">dot()</a>, <a class="el" href="classPxVec2.html#a0ad5e407464b9edaa205475f19eb426a">maximum()</a>, <a class="el" href="classPxVec2.html#ab133fd595141550bde61d5409a271cc4">minimum()</a>, <a class="el" href="classPxVec2.html#a98d498bfc67b78daf76b00970a3b1c2f">multiply()</a>, <a class="el" href="classPxVec2.html#a8ffd377266a4abb0bd5b56f456781b38">operator!=()</a>, <a class="el" href="group__foundation.html#gaa7415102b45174d3eda4d4f2f12127bc">operator*()</a>, <a class="el" href="classPxVec2.html#a7d6d1414f15c429129ca88ed17f27181">operator+()</a>, <a class="el" href="classPxVec2.html#ac9caeb5f1c968260c9f463171152937f">operator+=()</a>, <a class="el" href="classPxVec2.html#adddd3544f4afb9a6c847e072e8c570b9">operator-()</a>, <a class="el" href="classPxVec2.html#aea0a1b70187c8d6e2fb4f02a0fc069d3">operator-=()</a>, <a class="el" href="classPxVec2.html#a905d707942a9aa11f7184228e85df054">operator=()</a>, and <a class="el" href="classPxVec2.html#aa17a4e6ca87c2fde59d8bca3103a62be">operator==()</a>.</p>

</div>
</div>
<a id="abf3769707f9e56d04c4f37ebdb8e23a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf3769707f9e56d04c4f37ebdb8e23a9">&#9670;&nbsp;</a></span>y</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float PxVec2::y</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">Referenced by <a class="el" href="classPxVec2.html#a15449fe74efa6c4a7e01c53bc6dc42be">dot()</a>, <a class="el" href="classPxVec2.html#a0ad5e407464b9edaa205475f19eb426a">maximum()</a>, <a class="el" href="classPxVec2.html#ab133fd595141550bde61d5409a271cc4">minimum()</a>, <a class="el" href="classPxVec2.html#a98d498bfc67b78daf76b00970a3b1c2f">multiply()</a>, <a class="el" href="classPxVec2.html#a8ffd377266a4abb0bd5b56f456781b38">operator!=()</a>, <a class="el" href="group__foundation.html#gaa7415102b45174d3eda4d4f2f12127bc">operator*()</a>, <a class="el" href="classPxVec2.html#a7d6d1414f15c429129ca88ed17f27181">operator+()</a>, <a class="el" href="classPxVec2.html#ac9caeb5f1c968260c9f463171152937f">operator+=()</a>, <a class="el" href="classPxVec2.html#adddd3544f4afb9a6c847e072e8c570b9">operator-()</a>, <a class="el" href="classPxVec2.html#aea0a1b70187c8d6e2fb4f02a0fc069d3">operator-=()</a>, <a class="el" href="classPxVec2.html#a905d707942a9aa11f7184228e85df054">operator=()</a>, and <a class="el" href="classPxVec2.html#aa17a4e6ca87c2fde59d8bca3103a62be">operator==()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxVec2_8h_source.html">PxVec2.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classPxVec2.html">PxVec2</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
